package com.gxuwz.stats.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

@TableName("rsp_network_culture")
public class NetworkCulture {

    @TableId(type = IdType.AUTO)
    private int networkId;

    private Integer userId;

    private String networkAchievementName;
    private String networkType;
    private Double networkScore;
    private String networkNotes;

    @TableField(exist = false) // 不映射到数据库
    private String username;

    public int getNetworkId() {
        return networkId;
    }

    public void setNetworkId(int networkId) {
        this.networkId = networkId;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public String getNetworkAchievementName() {
        return networkAchievementName;
    }

    public void setNetworkAchievementName(String networkAchievementName) {
        this.networkAchievementName = networkAchievementName;
    }

    public String getNetworkType() {
        return networkType;
    }

    public void setNetworkType(String networkType) {
        this.networkType = networkType;
    }

    public Double getNetworkScore() {
        return networkScore;
    }

    public void setNetworkScore(Double networkScore) {
        this.networkScore = networkScore;
    }

    public String getNetworkNotes() {
        return networkNotes;
    }

    public void setNetworkNotes(String networkNotes) {
        this.networkNotes = networkNotes;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    @Override
    public String toString() {
        return "NetworkCulture{" +
                "networkId=" + networkId +
                ", userId=" + userId +
                ", networkAchievementName='" + networkAchievementName + '\'' +
                ", networkType='" + networkType + '\'' +
                ", networkScore=" + networkScore +
                ", networkNotes='" + networkNotes + '\'' +
                ", username='" + username + '\'' +
                '}';
    }

}
